import { createApp } from 'vue';
import App from './App.vue';
import router from './router';
import { library } from '@fortawesome/fontawesome-svg-core';
import { faBook } from '@fortawesome/free-solid-svg-icons'; // 保留其他您实际导入的图标
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';

library.add(faBook); // 确保仅添加已导入的图标
const app = createApp(App);
app.component('font-awesome-icon', FontAwesomeIcon);
app.use(router).mount('#app');
